<!--#include file="config.asp"-->
<!--#include file="emp_is.asp"-->
<%
'SaveEdit
SaveType=request("SaveType")
EMP_ID=Int(request("EMP_ID"))

if SaveType="ModOK" and trim(request("EMP_ID"))<>"" then
sql="select * from EMP_Staff where EMP_ID="&EMP_ID
rs.open sql,conn,1,3
rs("EMP_Name")=Trim(Request("EMP_Name"))
'rs("EMP_pass")=Trim(Request("EMP_pass"))
rs("EMP_depid")=int(Request("EMP_depid"))
rs("EMP_State")=int(Request("EMP_State"))
rs("EMP_title")=Trim(Request("EMP_title"))
rs("EMP_mobile")=Trim(Request("EMP_mobile"))
rs("EMP_info")=Trim(Request("EMP_info"))
rs("EMP_ValueTime")=Trim(Request("EMP_ValueTime"))
rs.Update
rs.close
Set rs=Nothing
Set conn=nothing
response.redirect "emp_edit.asp?emp_ID="&EMP_ID
response.End
end If

%>